package com.example.gymmanagement.service;

import com.example.gymmanagement.Utils.Result;
import com.example.gymmanagement.domain.Bill;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 13726256113
* @description 针对表【bill】的数据库操作Service
* @createDate 2023-06-07 09:42:13
*/
public interface BillService extends IService<Bill> {

    boolean insert(Bill bill);

    boolean delete(Integer id);

    Result selectByCategory(Integer billUser, String billtype, Integer index, Integer size);

    boolean updateBill(Bill bill);

    Result selectAllBill(Integer index, Integer size);

    Result calculateBills();
}
